package com.njtoyo.taxi.admin.mongo.entity.secondary;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @Author Dell
 * @Date 2021/5/31 14:01
 */
@Document(collection = "admin_give_customer_coupon_log")
@Data
@Accessors(chain = true)
@NoArgsConstructor
public class AdminGiveCustomerCouponLogMongo {

    /**
     * 主键
     */
    @Id
    private ObjectId id;

    private Integer customer_id;

    private String customer_name;

    private String customer_mobile_number;

    private Integer admin_id;

    private String admin_account;

    private String admin_name;

    private String admin_mobile_number;

    private Integer coupon_id;

    private Integer category;

    private Integer platform;

    private Integer scope;

    private Integer discount_type;

    private Double discount_digit;

    private Integer limit_type;

    private Double limit_digit;

    private Integer created_at;

}
